package com.whu.gc.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.whu.gc.mapper.SearchCarMapper;
import com.whu.gc.service.SearchCarService;
import com.whu.pojo.Car;



@Service("searchCarService")
public class SearchCarServiceImpl implements SearchCarService{
	@Autowired
	SearchCarMapper searchCarMapper;
	
	@Override
	public List<Car> selectByMessage(Car car)throws Exception{
		return searchCarMapper.selectByMessage(car);
	};
	@Override
	public List<Car> selectByKey(String key)throws Exception{
		return searchCarMapper.selectByKey(key);
	};
}
